﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data;

namespace WebApplication1
{
    public partial class Log_Info : System.Web.UI.Page
    {
        string LogFlag;
        public string LogContent;
        public string RecordUser;
        public string RecordDate;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {


                ViewState["UrlReferrer"] = Request.UrlReferrer.ToString();


            }
            LogFlag = Request["LogFlag"].Trim().ToString();
            DBS md = new DBS();
            DataSet ds = new DataSet();
            ds = md.LogInfo(LogFlag);
            LogContent = ds.Tables[0].Rows[0][3].ToString();
            RecordUser =ds.Tables[0].Rows[0][4].ToString();
            RecordDate = ds.Tables[0].Rows[0][5].ToString();

            DataSet ds2 = new DataSet();
            ds2 = md.Log_Image_List(LogFlag);
            this.Repeater1.DataSource = ds2;
            this.Repeater1.DataBind();
        }






    }
}